package com.yidu.best.systemManagement.resourceManagement.service;

import java.util.List;
import java.util.Map;


import com.yidu.best.systemManagement.resourceManagement.domain.Resource;

public interface ResourceService {
	/**
	 * 查询资源
	 * @return
	 */
	public Map<String, Object> findAll(Resource resource);
	
	/**
	 * 删除资源
	 * @param resourceId
	 * @return
	 */
	public int DeleteResource(String resourceId);
	
	/**
	 * 添加资源
	 * @return
	 */
	public int AddResource(Resource resource);
	
	/**
	 * 修改资源
	 * @param 
	 * @return
	 */
	public int UpdateResource(Resource resource);

	public List<Resource> selectAll();
	
	public int Updateusable(Resource resource);
}
